﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="RFID.Web.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="themes/login.css" rel="stylesheet" type="text/css" />
    <link href="themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="themes/bootstrap/easyui.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery.min.js" type="text/javascript"></script>
    <script src="Scripts/jquery.easyui.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        function alert(msg) {
            $.messager.alert('校园一卡通自助服务平台', msg, 'error');
        }
    </script>
</head>
<body>
    <div class="login_box">
        <div class="login_img">
            <a href="#">
                <img alt="" src="images/login-img.png" /></a>
        </div>
        <div class="login">
            <div class="login_logo">
                <a href="#">
                    <img alt="" src="favicon.ico" /></a>
            </div>
            <div class="login_name">
                <p>
                    校园一卡通自助服务平台
                </p>
            </div>
            <form id="form1" runat="server">
                <span>请输入学号：</span><asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                <div class="error">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入学号" ControlToValidate="txtName" Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="学号只能是整数" ControlToValidate="txtName" Operator="DataTypeCheck" Type="Integer" Display="Dynamic"></asp:CompareValidator>
                </div>
                <span>请输入密码：</span><asp:TextBox ID="txtPwd" TextMode="Password" runat="server"></asp:TextBox>
                <div class="error">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请输入密码" ControlToValidate="txtPwd" Display="Dynamic"></asp:RequiredFieldValidator>
                </div>
                <asp:Button ID="Button1" runat="server" Text="登录" Style="width: 100%;" OnClick="Button1_Click" />
            </form>
        </div>
        <div class="copyright" style="font-size: 18px; font-weight: bold;">
            河南厚溥教育科技有限公司 &copy;
            <%=DateTime.Now.ToShortDateString() %>
        </div>
    </div>
</body>
</html>
